<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
            String basePath = "http://" + request.getLocalAddr() + ":" + request.getLocalPort() + request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <title>${promptInfo.totalDescInfo}</title>
    <head>
	<script type="text/javascript">
	function ismaxlength(obj){
		var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "";
		if (obj.getAttribute && obj.value.length>mlength)
			alert("参数描述不得超过100个汉字");
			obj.value=obj.value.substring(0,mlength);
		}
		function imposeMaxLength(obj)
	{
		var mlength=obj.getAttribute? parseInt(obj.getAttribute("maxlength")) : "";
		return (obj.value.length <mlength);
	}
	</script>
    </head>
    <body>
        <form name="actionForm" method="post" action="operateAction.action" id="actionForm" onsubmit="return Validator.Validate(this,3);">
<input type="hidden" value="name" name="logColumn" />
            <input type="hidden" value="true" name="islog" />
            <input type="hidden" name="code" value="${code}"> 
            <input type="hidden" name="imitateStep" value="param_mgr_step_1"> 
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
                <tr>
                    <td class="tableTleft">&nbsp;</td>
                    <td class="tableTcenter">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="46%" valign="middle">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="5%">
                                                <div align="center"><img src="<%=request.getContextPath()%>/images/default/tab/tb.gif"></div>
                                            </td>
                                            <td width="95%" class="tableTBig">${promptInfo.contentDescInfo}--以下带<font color="red">*</font>为必填选项</td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="54%">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                    <td class="tableTright">&nbsp;</td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
                <tr>
                    <td class="tableCleft">&nbsp;</td>
                    <td class="tableCcenter">
                        <table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
                            <tr>
                                <td class="SkyTDLine">
                                    <table class="SkyTDLine" cellSpacing="1" cellPadding="0" width="100%" border="0">
                                        <tr class="MeNewTDLine" align="center">
                                            <td align="left">
                                                <table class="Ntable" cellSpacing="1" cellPadding="0" width="100%" border="0">
                                                    
                                                    <tr class="MeNewTDLine">
                                                        <td align="right" class="SkyTDLine" width="10%">参数名称：</td>
                                                        <td class="SkyTDLine">&nbsp;
                                                            <input name="paramMap.name"
                                                                   type="text" maxlength="25" id="name"
                                                                   dataType="Custom" regexp="^[A-Za-z0-9\u0391-\uFFE5]+$" msg="参数名称只能由汉字、英文字母、阿拉伯数字组成，长度为25。"
                                                                   style="width:200;"/>&nbsp;<font color="red">*</font>
                                                        </td>
                                                    </tr>
                                                    
                                                    <tr class="MeNewTDLine">
                                                        <td align="right" class="SkyTDLine" width="10%">参数值：</td>
                                                        <td class="SkyTDLine">&nbsp;
                                                            <input name="paramMap.value" type="text" maxlength="50" id="value"
                                                                   dataType="Require"  msg="参数值不能为空，长度限制为50。"
                                                                   style="width:200;"/>&nbsp;<font color="red">*</font>
                                                        </td>
                                                    </tr>
                                                    <tr class="MeNewTDLine">
                                                        <td align="right" class="SkyTDLine" width="10%">参数别名：</td>
                                                        <td class="SkyTDLine">&nbsp;
                                                            <input name="paramMap.alias" type="text" maxlength="20" id="alias"
                                                                   dataType="Custom" regexp="^[A-Za-z0-9]+$" msg="参数别名只允许使用英文字符或数字，长度为25。"
                                                                   style="width:200;"/>&nbsp;<font color="red">*</font>
                                                        </td>
                                                    </tr>
                                                    <tr class="MeNewTDLine">
                                                        <td align="right" class="SkyTDLine">参数描述：</td>
                                                        <td class="SkyTDLine">&nbsp;
                                                            <textarea name="paramMap.description" maxlength="100" onkeypress="return imposeMaxLength(this)" onblur="return ismaxlength(this)"
                                                                   type="textarea" col='24' rows="3" id="description" style="width:200;overflow:auto"></textarea>
                                                        </td>
                                                    </tr>
                                                    <tr class="MeNewTDLine" align="center">
                                                        <td colSpan="2" class="SkyTDLine"><input type="submit" name="BtnOk" value="创建" id="BtnOk" class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'" onMouseOver="this.className='SkyButtonFocus'" />&nbsp;&nbsp;<input type="button" name="BtnOk" value="返回" id="BtnOk" class="SkyButtonBlur" onMouseOut="this.className='SkyButtonBlur'" onMouseOver="this.className='SkyButtonFocus'" onclick="window.history.back();" /></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td class="tableCright">&nbsp;</td>
                </tr>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableF">
                <tr>
                    <td class="tableFleft">&nbsp;</td>
                    <td class="tableFcenter">&nbsp;</td>
                    <td class="tableFright">&nbsp;</td>
                </tr>
            </table>
            <table width="100%" height="100" border="0" cellpadding="0" cellspacing="0" class="tablemain">
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableT">
                            <tr>
                                <td class="tableTleft">&nbsp;</td>
                                <td class="tableTcenter">
                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                            <td width="46%" valign="middle">
                                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td width="5%">
                                                            <div align="center"><img src="images/default/tab/tb.gif"></div>
                                                        </td>
                                                        <td width="95%" class="tableTBig">帮助说明</td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td width="54%">&nbsp;</td>
                                        </tr>
                                    </table>
                                </td>
                                <td class="tableTright">&nbsp;</td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
                            <tr>
                                <td class="tableCleft">&nbsp;</td>
                                <td class="tableCcenter">
                                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableC">
                                        <tr>
                                            
                                            <td class="tableCcenter">
                                                <table width="100%" border="0" cellpadding="0" cellspacing="1" class="SkyTDLine">
                                                    <tr>
                                                        <td class="SkyTDLine">${promptInfo.helpDescInfo}&nbsp;</td>
                                                    </tr>
                                                </table>
                                            </td>
                                            
                                        </tr>
                                    </table>
                                </td>
                                <td class="tableCright">&nbsp;</td>
                            </tr>
                        </table>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableF">
                            <tr>
                                <td class="tableFleft">&nbsp;</td>
                                <td class="tableFcenter">&nbsp;</td>
                                <td class="tableFright">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>
